package src.cn.edu.sdjzu.xg.eagle.fastjon;

class Condition {
    // 字段名
    private String key;
    // 操作符
    private String operator;
    // 字段值
    private String value;

    public Condition() {
    }

    public Condition(String key, String operator, String value) {
        this.key = key;
        this.operator = operator;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public String getOperator() {
        return operator;
    }

    public String getValue() {
        return value;
    }

    public String toString() {
        return key + " " + operator + " " + value;
    }
}